// 签到
const checkInMixin = {
	data(){
		return{
			//出勤数据
			checkData:{
				studentCount: 0,
				list: []
			},
			//缺勤数据
			unCheckData:{
				studentCount: 0,
				list: []
			}
		}
	},
	methods:{
		// 接收签到数据
		getCheckIn(data){
			this.unCheckData ={
				studentCount: data.unCheckStudentCount,
				list: data.unCheckList
			}
			this.checkData = {
				studentCount: data.checkStudentCount,
				list: data.checkList
			}
		}
	}
}

export default checkInMixin;